/**
 * Created by meiguizhinian on 2018/7/17
 * Copyright © 2018 lixiaolong. All rights reserved.
 */

//cocos2dx class
unblockme.TestScene = LLScene.extend({
	res : [
		"res/game/UnblockMe/NETDATA/ANIMATION/Test.actor",

		"res/game/UnblockMe/vfs/bg_yellow.png",
		"res/game/UnblockMe/vfs/sliderTrack.png",
		"res/game/UnblockMe/vfs/sliderProgress.png",
		"res/game/UnblockMe/vfs/sliderThumb.png",
		"res/game/UnblockMe/vfs/joystick_back.png",
		"res/game/UnblockMe/vfs/joystick_front.png",
		//font
		"res/fonts/1num_0.png",
		"res/fonts/1num.fnt",

		"res/game/UnblockMe/CodeUse/Flower.plist",

		LLFont.fonts[0],
		//spine

		"res/game/UnblockMe/NETDATA/ANIMATION/lh5.sp",
		"res/game/UnblockMe/EFFECT/attack.atlas",
		"res/game/UnblockMe/EFFECT/attack.json",
		"res/game/UnblockMe/EFFECT/attack.png",

		"res/game/UnblockMe/EFFECT/lh5.atlas",
		"res/game/UnblockMe/EFFECT/lh5.json",
		"res/game/UnblockMe/EFFECT/lh5.png",
	],
	ctor: function (form, space=null) {
		this._super(form, space);

		// let attack = new sp.SkeletonAnimation("res/game/UnblockMe/spine/attack/attack.json","res/game/UnblockMe/spine/attack/attack.atlas", 1);
		// attack.setPosition(100, 100);
		// this.addChild(attack, 220);
		//
		// let lh5 = new sp.SkeletonAnimation("res/game/UnblockMe/spine/lh5/lh5.json","res/game/UnblockMe/spine/lh5/lh5.atlas", 1);
		// lh5.setAnimation(0,"boss",true);
		// lh5.setPosition(200, 400);
		// this.addChild(lh5, 220);
	},
});

unblockme.TestScene.create = function (form, space=null) {
	return new unblockme.TestScene(form, space);
};